←Select platform

FindInstances(string,string,string,List<InstanceInfo>,int) Method

Summary

Finds all instances that match the specified search criteria.

Syntax
C#
VB
C++
public ControllerReturnCode FindInstances( 
   string patientId, 
   string studyInstanceUid, 
   string seriesInstanceUid, 
   List<InstanceInfo> instances, 
   int maxQueryResults 
) 
Public Function FindInstances( 
   ByVal patientId As String, 
   ByVal studyInstanceUid As String, 
   ByVal seriesInstanceUid As String, 
   ByVal instances As List(Of InstanceInfo 
), 
   ByVal maxQueryResults As Integer) As ControllerReturnCode 
public:  
   ControllerReturnCode^ FindInstances( 
      String^ patientId, 
      String^ studyInstanceUid, 
      String^ seriesInstanceUid, 
      List<InstanceInfo^>^ instances, 
      Int32 maxQueryResults 
   ) 

Parameters

patientId

The Patient ID for which to search.

studyInstanceUid

The Study Instance UID (Unique ID) for the study.

seriesInstanceUid

The Series Instance UID (Unique ID) for the series.

instances

List of InstanceInfo objects that will be updated with the results of the search.

maxQueryResults

Specifies the maximum number of results to return.

Return Value

A ControllerReturnCode value indicating the results of the search.

Remarks

This method is similar to FindInstances(string,string,string,List{InstanceInfo}), but allows you to pass a value for maxQueryResults that puts a limit on the number of results returned. This is useful for querying large databases, where the results returned could be unpredictably large.

Pass 0 for maxQueryResults if you do not want to limit the number of results returned.

Requirements

Target Platforms

Help Version 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Medical.WebViewer.ExternalControl Assembly